#!/bin/bash -e

case $prDryRun in
  yep)
    echo "DRY RUN"
    ;;
  *)
    ./pull-binary-libs.sh

    # build quick using STARR built upstream, as specified by scalaVersion
    # (in that sense it's locker, since it was built with starr by that upstream job)
    ant -Dstarr.version=$scalaVersion \
       -Dscalac.args.optimise=-optimise \
       -Dlocker.skip=1 -Dstarr.use.released=1 -Dextra.repo.url=$prRepoUrl \
       $testExtraArgs ${testTarget-test.core docs.done}
    ;;
esac